import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/css/global.css'
import '@/assets/css/theme/index.css'
import '@/assets/css/iconfont/iconfont.css'
import 'highlight.js/styles/monokai-sublime.css'
import request from "@/utils/request";

var axios = require('axios')

Vue.prototype.$axios = axios
Vue.prototype.$request = request
Vue.prototype.$baseUrl = process.env.VUE_APP_BASEURL


Vue.config.productionTip = true

Vue.use(ElementUI, { size: "small" })

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App }, //调用组件
    template: '<App/>'
})